<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class GoodCate extends Model
{
    use HasFactory;
    protected $fillable = ['parent_id', 'name', 'sort'];

    public function goods() {
        return $this->hasMany(Goods::class,);
    }
}
